package com.google.code.sms.android.domain;

import java.util.List;

/**
 * The result of a search.  Contains matching artists, albums and songs.
 *
 * @author Sindre Mehus
 */
public class SearchResult {

    private final List<IndexElement> artists;
    private final List<MediaElement.Entry> albums;
    private final List<MediaElement.Entry> songs;

    public SearchResult(List<IndexElement> artists, List<MediaElement.Entry> albums, List<MediaElement.Entry> songs) {
        this.artists = artists;
        this.albums = albums;
        this.songs = songs;
    }

    public List<IndexElement> getArtists() {
        return artists;
    }

    public List<MediaElement.Entry> getAlbums() {
        return albums;
    }

    public List<MediaElement.Entry> getSongs() {
        return songs;
    }
}